package com.famid.flashcards.animation;

import com.famid.flashcards.FlashCard;

import android.view.animation.Animation;

public final class DisplayNextView implements Animation.AnimationListener {
	private boolean mCurrentView;
	FlashCard card;

	public DisplayNextView(boolean currentView, FlashCard card) {
		mCurrentView = currentView;
		this.card = card;
//		this.card2 = card2;
	}

	public void onAnimationStart(Animation animation) {
	}

	public void onAnimationEnd(Animation animation) {
		card.post(new SwapViews(mCurrentView, card));
	}

	public void onAnimationRepeat(Animation animation) {
	}
}